package com.tianxin.workbao.workBao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hacker on 2017/8/17.
 */
@Entity
public class Carmoney implements Serializable {
    private static final long serialVersionUID = -3961745194267412385L;
    @Transient
    public static Integer TYPE_CZ = 1;//充值
    @Transient
    public static Integer TYPE_TX = 2;//提现
    @Id
    private long id;
    @Property
    private String number;
    @Property
    private Date addtime;
    @Property
    private Integer adduserid;
    @Property
    private String addusername;
    @Property
    private Float money;
    @Property
    private String remark;
    @Property
    private Integer type;
    @Property
    private String platenumbers;
    @Property
    private Integer carid;
    public Integer getCarid() {
        return this.carid;
    }
    public void setCarid(Integer carid) {
        this.carid = carid;
    }
    public String getPlatenumbers() {
        return this.platenumbers;
    }
    public void setPlatenumbers(String platenumbers) {
        this.platenumbers = platenumbers;
    }
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Float getMoney() {
        return this.money;
    }
    public void setMoney(Float money) {
        this.money = money;
    }
    public String getAddusername() {
        return this.addusername;
    }
    public void setAddusername(String addusername) {
        this.addusername = addusername;
    }
    public Integer getAdduserid() {
        return this.adduserid;
    }
    public void setAdduserid(Integer adduserid) {
        this.adduserid = adduserid;
    }
    public Date getAddtime() {
        return this.addtime;
    }
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 1170345025)
    public Carmoney(long id, String number, Date addtime, Integer adduserid,
            String addusername, Float money, String remark, Integer type,
            String platenumbers, Integer carid) {
        this.id = id;
        this.number = number;
        this.addtime = addtime;
        this.adduserid = adduserid;
        this.addusername = addusername;
        this.money = money;
        this.remark = remark;
        this.type = type;
        this.platenumbers = platenumbers;
        this.carid = carid;
    }
    @Generated(hash = 1249587341)
    public Carmoney() {
    }

}
